import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import home from "@/components/home"
import mobile from "@/components/mobile/home"
import advertising from "@/components/advertising"
import about from "@/components/about"
import statement from "@/components/statement"
import feedback from "@/components/feedback"
import report from "@/components/report"
import apply from "@/components/apply"
import phone from "@/components/phone"
import more from "@/components/more"
import qr_code from "@/components/qr_code"

Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [
    {
      path: '/',
      name: 'home',
      component: home,
      meta: {
        title: '九财导航-财经金融网址大全'
      },
    },
    {
      path: '/advertising',
      name: 'advertising',
      component: advertising,
      meta: {
        title: '九财导航_广告合作'
      },
    },
    {
      path: '/about',
      name: 'about',
      component: about,
      meta: {
        title: '九财导航_关于我们'
      },
    },
    {
      path: '/statement',
      name: 'statement',
      component: statement,
      meta: {
        title: '九财导航_免责声明'
      },
    },
    {
      path: '/feedback',
      name: 'feedback',
      component: feedback,
      meta: {
        title: '九财导航_意见反馈'
      },
    },
    {
      path: '/report',
      name: 'report',
      component: report,
      meta: {
        title: '九财导航_我要举报'
      },
    },
    {
      path: '/apply',
      name: 'apply',
      component: apply,
      meta: {
        title: '九财导航_收录申请'
      },
    },
    {
      path: '/phone',
      name: 'phone',
      component: phone,
      meta: {
        title: '九财导航_联系我们'
      },
    },
    {
      path: '/more/:id',
      name: 'more',
      component: more,
      meta: {
        title: '九财导航_更多'
      },
    },
    // {
    //   path: "/zhaoao",
    //   name: "zhaoao",
    //   component: zhaoao,
    // },
    {
      path: "/qr_code",
      name: "qr_code",
      component: qr_code,
      meta: {
        title: '九财导航_扫码'
      },
    },
  ]
})

